home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _39C8104DC0C442CCA694A57AFB9BCBD9 < prev    next >
Encoding:
Text File  |  2004-01-06  |  3.4 KB  |  171 lines

  1. Grunt_x = {
  2.  
  3. ------------------------------------------------------------------------------------
  4.  
  5.     PropertiesInstance = {
  6.         sightrange = 35,
  7.         soundrange = 2,    -- rememeber that sound ranges intersect and sound range for AI doubles when in alert
  8.         groupid = 154,
  9.         aibehavior_behaviour = "Job_StandIdle",
  10.         bHelmetOnStart = 0,
  11.         fileHelmetModel = "Objects/merc_m_heavy.cgf",
  12.         bGunReady = 0,
  13.         },
  14.  
  15.  
  16.     Properties = {
  17.         KEYFRAME_TABLE = "BASE_HUMAN_MODEL",
  18.         SOUND_TABLE = "GRUNT",
  19.         bAffectSOM = 1,
  20.         bSleepOnSpawn = 1,
  21.         
  22.         bTakeProximityDamage = 1,
  23.  
  24.         bHasArmor = 1,
  25.  
  26.         special = 0,
  27. --        bHasLight = 0,
  28.         aggression = 0.3,    -- 0 = passive, 1 = total aggression
  29.         commrange = 30.0,
  30. --        cohesion = 5,
  31.         attackrange = 70,
  32.         horizontal_fov = 160,
  33.         eye_height = 2.1,
  34.         forward_speed = 1.27,
  35.         back_speed = 1.27,
  36.         max_health = 120,
  37.         accuracy = 0.6,
  38.         responsiveness = 7,
  39.         species = 1,
  40.         fSpeciesHostility = 2,
  41.         fGroupHostility = 0,
  42.         fPersistence = 0,
  43.         equipEquipment = "none",
  44.         equipDropPack = "none",
  45.         AnimPack = "Basic",
  46.         SoundPack = "dialog_template",        
  47.         aicharacter_character = "Cover",
  48.         pathname = "none",
  49.         pathsteps = 0,
  50.         pathstart = 0,
  51.         ReinforcePoint = "none",
  52.         fileModel = "Objects/characters/mercenaries/Merc_rear/merc_rear.cgf",
  53.         bTrackable=1,
  54.         
  55.         speed_scales={
  56.             run            =2.8,
  57.             crouch    =.8,
  58.             prone        =.5,
  59.             xrun        =1.5,
  60.             xwalk        =.81,
  61.             rrun        =3.63,
  62.             rwalk        =.94,
  63.             },
  64.         AniRefSpeeds = {
  65.             WalkFwd = 1.27,
  66.             WalkSide = 1.22,
  67.             WalkBack = 1.29,
  68.             WalkRelaxedFwd = 1.0487,
  69.             WalkRelaxedSide = 1.22,
  70.             WalkRelaxedBack = 1.04,
  71.             XWalkFwd = 1.2,
  72.             XWalkSide = 1.0, 
  73.             XWalkBack = 0.94,
  74.             XRunFwd = 4.5,
  75.             XRunSide = 3.5, 
  76.             XRunBack = 4.5,
  77.             RunFwd = 4.62,
  78.             RunSide = 3.57,
  79.             RunBack = 4.62,
  80.             CrouchFwd = 1.02,
  81.             CrouchSide = 1.02,
  82.             CrouchBack = 1.04,
  83.     },
  84.         
  85.     },
  86.  
  87.     PhysParams = {
  88.         mass = 80,
  89.         height = 1.8,
  90.         eyeheight = 1.7,
  91.         sphereheight = 1.2,
  92.         radius = 0.45,
  93.     },
  94.  
  95. --pe_player_dimensions structure
  96.     PlayerDimNormal = {
  97.         height = 1.8,
  98.         eye_height = 1.7,
  99.         ellipsoid_height = 1.2,
  100.         x = 0.45,
  101.         y = 0.45,
  102.         z = 0.6,
  103.     },
  104.     PlayerDimCrouch = {
  105.         height = 1.5,
  106.         eye_height = 1.0,
  107.         ellipsoid_height = 0.95,
  108.         x = 0.45,
  109.         y = 0.45,
  110.         z = 0.5,
  111.     },
  112.     PlayerDimProne = {
  113.         height = 0.4,
  114.         eye_height = 0.5,
  115.         ellipsoid_height = 0.35,
  116.         x = 0.45,
  117.         y = 0.45,
  118.         z = 0.2,
  119.     },
  120.     
  121.  
  122.  
  123.     DeadBodyParams = {
  124.         sim_type = 1,
  125.       max_time_step = 0.025,
  126.       gravityz = -7.5,
  127.       sleep_speed = 0.025,
  128.       damping = 0.3,
  129.       freefall_gravityz = -9.81,
  130.       freefall_damping = 0.1,
  131.  
  132.       lying_mode_ncolls = 4,
  133.       lying_gravityz = -5.0,
  134.       lying_sleep_speed = 0.065,
  135.       lying_damping = 1.0,
  136.         
  137.         water_damping = 0.1,
  138.         water_resistance = 1000,    
  139.     },
  140.   BulletImpactParams = {
  141.     stiffness_scale = 73,
  142.     max_time_step = 0.02
  143.   },
  144.  
  145.  
  146.  
  147.     -- Reloading related
  148.     
  149. }
  150.  
  151. -------------------------------------------------------------------------------------------------------
  152. --function Grunt_x:OnInit(  )
  153. --
  154. ----    dump(BasicAI);
  155. --    mergef( self, BasicAI, 1 );
  156. ----    dump(self);
  157. --    BasicAI.Server_OnInit( self );
  158. --    BasicAI.Client_OnInit( self );
  159. --
  160. --    self.cnt:CounterSetValue("Boredom", 0 );
  161. --    
  162. ----    self:MakeAlerted();
  163. --    
  164. ----    BasicPlayer.Server_OnInit( self );    
  165. ----    BasicAI.OnInit( self );
  166. --
  167. --end
  168.  
  169. --Grunt=CreateAI(Grunt_x)
  170. -----------------------------------------------------------------------------------------------------
  171.